﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage_Sub.master" AutoEventWireup="true"
    CodeFile="search.aspx.cs" Inherits="search" Title="大众防骗"
    EnableViewState="false" EnableEventValidation="false" ViewStateEncryptionMode="Never" %>

<asp:Content ID="Content2" ContentPlaceHolderID="head" runat="Server">
    <style>
        .navbar-default .navbar-nav > li:nth-child(2) > a,
        .navbar-default .navbar-nav > li:nth-child(2) > a:hover,
        .navbar-default .navbar-nav > li:nth-child(2) > a:visited{
            color:#09f;
        }
        #Content1{text-align:left;}
    </style>
</asp:Content>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder_Search" runat="Server">
    <%--<div id="numsearch">输入任意信息关键字，获得最新相关信息的详细报告</div>--%>
   <div id="search">
    <h4 style="color:#2c7de2">查询</h4>
         <%--<label for="reporter">您的举报内容：</label>--%>
        <div>
            <%--  <asp:UpdatePanel ID="UpdatePanel3" runat="server"> <ContentTemplate> --%>
            <asp:DropDownList ID="DropDownList_type" runat="server" AppendDataBoundItems="False"
                DataSourceID="ObjectDataSource_type" DataTextField="type" DataValueField="id"
                Height="34px" Width="71px" AutoPostBack="True" OnSelectedIndexChanged="DropDownList_type_SelectedIndexChanged">
                <asp:ListItem Selected="True" Value="0">请选择举报类别</asp:ListItem>
            </asp:DropDownList>
            <asp:TextBox ID="TextBox_input" onblur="blurReporter()" onfocus="focusReporter()"
                runat="server" Width="60%" ReadOnly="False" Text="请输入关键字..." onclick="if(this.value=='请输入关键字...')this.value='';"
                Height="33px" BorderColor="#0099ff" BorderStyle="Solid" BorderWidth="1px"
                Font-Bold="false" Font-Size="14px" />
            <asp:Button ID="Button_search" runat="server" Text="我要查找" class="l btn btn-primary" style="background:#09f;height:35px"
                OnClick="Button_search_Click" ValidationGroup="input" />
            <%--asp:Button ID="Button_report" runat="server" class="l btn btn-primary" Text="我要举报" style="background:#09f;height:40px"
                OnClick="Button_report_Click" ValidationGroup="input" />--%>
            <asp:ObjectDataSource ID="ObjectDataSource_type" runat="server" OldValuesParameterFormatString="original_{0}"
                SelectMethod="Get_Data_OrderBy_id" TypeName="DataSet_fp_DyhTableAdapters.Dyh_typeTableAdapter">
            </asp:ObjectDataSource>
            <%--                                                                    </ContentTemplate>
                                                                </asp:UpdatePanel> 
            --%>
        </div>
        <%--</DIV>--%>
        <div class="hint">
            <asp:RegularExpressionValidator ID="Validator1" runat="server" ControlToValidate="TextBox_input"
                Enabled="False" ErrorMessage="*电话/手机号码有误，由数字组成。如:01066881238 或 13912345678！"
                ValidationExpression="\d{3}[0-9]+" Visible="False" Display="Dynamic" ValidationGroup="input"></asp:RegularExpressionValidator>
            <asp:RegularExpressionValidator ID="Validator2" runat="server" ControlToValidate="TextBox_input"
                Enabled="False" ErrorMessage="*您输入的网站地址有误，请重新输入。如:http://www.abc.net 或 www.abc.net ！"
                ValidationExpression="(http(s)?://)?([\w-]+\.)+[\w-]+(/[\w- ./?%&amp;=]*)?" Visible="False"
                Display="Dynamic" ValidationGroup="input"></asp:RegularExpressionValidator>
            <asp:RegularExpressionValidator ID="Validator3" runat="server" ControlToValidate="TextBox_input"
                Enabled="False" ErrorMessage="*您输入的身份证号码有误！请确保号码位数(18/15位)，以及出生日期正确。" ValidationExpression="\d{6}\d{2}\d{2}\d{2}[0-3][0-9]\d{3}[\d|X]|\d{15}"
                Visible="False" Display="Dynamic" ValidationGroup="input"></asp:RegularExpressionValidator>
            <asp:RegularExpressionValidator ID="Validator4" runat="server" ControlToValidate="TextBox_input"
                Enabled="False" ErrorMessage="*您输入的银行账号格式不正确！" ValidationExpression="[0-9]+"
                Visible="False" Display="Dynamic" ValidationGroup="input"></asp:RegularExpressionValidator>
            <asp:RegularExpressionValidator ID="Validator5" runat="server" ControlToValidate="TextBox_input"
                Enabled="False" ErrorMessage="*您输入的QQ号码有误！QQ号码至少在4位数以上，且第一位数不能为0。" ValidationExpression="[1-9]\d{3}[0-9]+"
                Visible="False" Display="Dynamic" ValidationGroup="input"></asp:RegularExpressionValidator>
            <asp:RegularExpressionValidator ID="Validator6" runat="server" ControlToValidate="TextBox_input"
                Enabled="False" ErrorMessage="*您输入的邮箱地址格式不正确！" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"
                Visible="False" Display="Dynamic" ValidationGroup="input"></asp:RegularExpressionValidator>
            <asp:RegularExpressionValidator ID="Validator7" runat="server" ControlToValidate="TextBox_input"
                Enabled="False" ErrorMessage="*您输入的网店格式不正确！" ValidationExpression="(\(\d{3}\)|\d{3}-)?\d{8}"
                Visible="False" Display="Dynamic" ValidationGroup="input"></asp:RegularExpressionValidator>
            <asp:RegularExpressionValidator ID="Validator8" runat="server" ControlToValidate="TextBox_input"
                Enabled="False" ErrorMessage="*您输入的信息格式不正确！" ValidationExpression="(\(\d{3}\)|\d{3}-)?\d{8}"
                Visible="False" Display="Dynamic" ValidationGroup="input"></asp:RegularExpressionValidator>
            <asp:RequiredFieldValidator ID="Validator01" runat="server" ControlToValidate="TextBox_input"
                ErrorMessage="*  输入框不能为空，请重新输入！" Display="Dynamic" ValidationGroup="input"></asp:RequiredFieldValidator>
            <asp:RequiredFieldValidator ID="Validator0" runat="server" ControlToValidate="TextBox_input"
                ErrorMessage="* 请输入有效的查询值！" InitialValue="请输入关键字..." Display="Dynamic" Enabled="False"
                Visible="False" ValidationGroup="input"></asp:RequiredFieldValidator>
            <asp:ValidationSummary ID="ValidationSummary1" runat="server" ShowSummary="False"
                DisplayMode="List" EnableClientScript="False" ValidationGroup="input" />
            <asp:CustomValidator ID="CustomValidator2" runat="server" ControlToValidate="TextBox_input"
                ErrorMessage="CustomValidator" Display="Dynamic" ValidationGroup="customvalid"
                Enabled="False" Visible="False"></asp:CustomValidator>
            <%--            如: 13812345678、010-87654321或fpsjk.com
            --%>
            <div style="margin-top:23px">本站今日累计收到举报<asp:Label ID="todayReportNoLb" runat="server"></asp:Label></span>条。</div>
        </div>
    </div>
        <div id="numlink" class="numlink"></div>
        
    <div>
    </div>
    <%--<h2>
        最近举报记录</h2>
    <div id="reports">
        <asp:UpdatePanel ID="UpdatePanel1" runat="server">
            <ContentTemplate>
                <asp:ListView ID="ListView1" runat="server" DataKeyNames="id" DataSourceID="ObjectDataSource_Latest_Report_Data">
                    <LayoutTemplate>
                        <ul id="itemPlaceholderContainer" runat="server" style="">
                            <li id="itemPlaceholder" runat="server" />
                        </ul>
                        <div style="text-align: right" dir="ltr" enableviewstate="False">
                            更多举报内容： &nbsp;
                            <asp:DataPager ID="DataPager1" runat="server" PageSize="20">
                                <Fields>
                                    <%--<asp:NextPreviousPagerField ButtonType="Link" ShowFirstPageButton="False" 
                                                ShowNextPageButton="False" ShowPreviousPageButton="True" />--%>
                                    <%--<asp:NumericPagerField ButtonCount="8" />
                                    <asp:NextPreviousPagerField ButtonType="Link" ShowLastPageButton="False" ShowNextPageButton="True"
                                        ShowPreviousPageButton="False" />
                                </Fields>
                            </asp:DataPager>
                            &nbsp;&nbsp;<asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="allreports.aspx">查看所有举报</asp:HyperLink>
                        </div>
                    </LayoutTemplate>
                    <EmptyDataTemplate>
                        未返回数据。
                    </EmptyDataTemplate>
                    <ItemTemplate>
                        <li style="" title=".">
                            <div class="item">
                                <div class="title">
                                    [<b><%# Eval("typename").ToString().Trim() %></b>]&nbsp;&nbsp;<a href="javascript:void(0);"
                                        onclick="window.location='./detail.aspx?sel=<%# Eval("type") %>&keyword=<%# Eval("object") %>';return false;"><%# Eval("R_type") %>：<%# Eval("object") %></a></div>
                                <div class="meta">
                                    <span class="author">
                                        <%# Eval("IP_from")%></span>于<%# (System.DateTime.Now.Date - Convert.ToDateTime(Eval("time")).Date).Days < 2 ? ((System.DateTime.Now.Date - Convert.ToDateTime(Eval("time")).Date).Days == 0 ? "今日 " + Convert.ToDateTime(Eval("time").ToString()).ToLongTimeString() : "昨日 " + Convert.ToDateTime(Eval("time")).ToLongTimeString()) : Eval("time")%></div>
                                <div class="detail">
                                    <%# Eval("R_content") %>
                                    <%--                    恭喜您！您的手机号码被《非常6+1》栏目中砸中参与资格，请登录cctv255.com查收！验证码：7117 免费咨询热线
                    
                    <a href="javascript:void(0);" onclick="window.location='http://www.soudianhua.com/Phone.aspx?number=4006786383';return false;">400-678-6383</a>”发信息的手机号码是：13229058504
                                    --%>
                                    <%--                                    <br /><br />
                                    --%>
                                <%--</div>
                            </div>
                        </li>
                    </ItemTemplate>
                </asp:ListView>
            </ContentTemplate>
        </asp:UpdatePanel>
        <asp:ObjectDataSource ID="ObjectDataSource_Latest_Report_Data" runat="server" OldValuesParameterFormatString="original_{0}"
            SelectMethod="Get_Data_By_DateDiff_in_PreDays_Days" TypeName="DataSet_fp_DyhTableAdapters.Dyh_reportTableAdapter">
            <SelectParameters>
                <asp:Parameter DefaultValue="5" Name="PreDays" Type="Byte" />
            </SelectParameters>
        </asp:ObjectDataSource>
    </div>--%>
    
    <%--<div><a href="/395800.aspx">1395800</a>: 最近查询2次。<a href="/381753.aspx">1381753</a>: 最近查询2次。<a href="/359032.aspx">1359032</a>: 最近查询2次。<a href="/860228.aspx">1860228</a>: 最近查询3次。<a href="/360107.aspx">1360107</a>: 最近查询2次。<a href="/369157.aspx">1369157</a>: 最近查询2次。<a href="/376134.aspx">1376134</a>: 最近查询5次。<a href="/397138.aspx">1397138</a>: 最近查询2次。</div>--%>
    
    <div id="hotnumbers">
        <h4 style="color:#2c7de2">最近热门查询</h4>
        <asp:UpdatePanel ID="UpdatePanel2" runat="server">
            <ContentTemplate>
                <asp:ListView ID="ListView2" runat="server" DataKeyNames="id" DataSourceID="ObjectDataSource_Latest_Search">
                    <LayoutTemplate>
                        <ul id="itemPlaceholderContainer" runat="server" style="margin-left:15px;font-size:14px;">
                            <li id="itemPlaceholder" runat="server" />
                        </ul>
                        <br>
                        <div style="text-align: left; font-size: 14px;">
                            更多:
                            <asp:DataPager ID="DataPager1" runat="server" PageSize="20">
                                <Fields>
                                    <%--<asp:NextPreviousPagerField ButtonType="Link" ShowFirstPageButton="False" 
                                ShowNextPageButton="False" ShowPreviousPageButton="True" />--%>
                                    <asp:NumericPagerField />
                                    <asp:NextPreviousPagerField ButtonType="Link" ShowLastPageButton="False" ShowNextPageButton="True"
                                        ShowPreviousPageButton="False" />
                                </Fields>
                            </asp:DataPager>
                        </div>
                    </LayoutTemplate>
                    <EmptyDataTemplate>
                        未返回数据。
                    </EmptyDataTemplate>
                    <ItemTemplate>
                        <li style=""><span class="hint">
                            <%# Eval("L_S_time") %></span><a style="color:#09f" href='./detail.aspx?sel=<%# Eval("type") %>&keyword=<%# Eval("object") %>'>
                                <%# Eval("object") %></a>，最近查询<b>&nbsp;<%# Eval("S_times") %>&nbsp;</b>次。
                        </li>
                    </ItemTemplate>
                    <%--<ItemSeparatorTemplate>
                        <br />
                    </ItemSeparatorTemplate>--%>
                </asp:ListView>
            </ContentTemplate>
        </asp:UpdatePanel>
        <asp:ObjectDataSource ID="ObjectDataSource_Latest_Search" runat="server" OldValuesParameterFormatString="original_{0}"
            SelectMethod="Get_Data_By_DateDiff_in_PreDays_Days" TypeName="DataSet_fp_DyhTableAdapters.Dyh_baseDBTableAdapter">
            <SelectParameters>
                <asp:Parameter DefaultValue="5" Name="predays" Type="Decimal" />
            </SelectParameters>
        </asp:ObjectDataSource>
    </div>
    
    <div style="text-align:left;padding:15px 40px;">
        <h4 style="color:#2c7de2">本站提示</h4>
        <p>
            欢迎来到：大众防骗<br>
            我们通过用户互助举报的方式不断收集各类不良信息和诈骗信息，起到信息共享，互相帮助，并震慑不良信息发布者和诈骗分子的作用。当您接到“响一声”电话时，当您接到骗子电话/短信/飞信时，当您发现诈骗网站时，请来本站进行曝光。
            关于本站的更多问题参见<a href="/Faq.aspx">常见问题解答</a>。</p>
        <p>
            用户在本站发表内容请遵循相关法律法规。本站不提供公民个人信息查询，如果您的隐私被侵犯，请<a href="/contact.aspx">和我们联系</a>予以处理。</p>
        <p>
            <%-- ◆本站域名：it110.net.cn，--%>真诚感谢您对本站的关注，并请积极在网站发布您所遇到不良信息或诈骗信息。</p>
    </div>
    <%--更多: <a href="/Hot-1.aspx">1</a> <a href="/Hot-2.aspx">2</a> <a href="/Hot-3.aspx">3</a> <a href="/Hot-4.aspx">4</a> <a href="/Hot-5.aspx">5</a>--%>
</asp:Content>
